package thread.java20230109;

public class Demo48 {
    static Object lock = new Object();
    public static void main(String[] args) {
        int count = 0;
        synchronized (lock){
            count ++;
        }
    }
}
